from common.Config import settings



def full_url(address:str, args:list = []):

	base_url = f"http://{settings.SERVER}"
	url = base_url + address

	if len(args) > 0 :
		for arg in args:
			url = url.rstrip('/') + '/' + str(arg)

	return url